# 3.通常使人感觉较为舒适的外界温度夏季为19℃~24℃,冬季为12℃~22℃,春秋季为18℃-25℃。编写程序，
# 从键盘输入季节与当前温度,若在舒适温度内则输出“舒适”,反之则出“不舒适”。

tem = int(input("温度："))
season = input("季节（春夏秋冬）：")

if tem > 19 and tem < 24 and season == '夏':
    print("舒适")
elif tem > 12 and tem < 22 and season == '冬':
    print("舒适")
elif tem > 18 and tem < 25 and season == '春' or season == '秋':
    print("舒适")   
else:
    print("不舒适")